﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using CRMWeb.Utilities;
using CRMWeb.Utilities.Context;

namespace CRMWeb.Pages
{
    public partial class DashBoard : CRMWeb.Utilities.BasePage
    {
        protected void Page_Load(object sender, EventArgs e)
        {

            if (CMSContext.CurrentRoles.Count== 0)
            {
                hdnRole.Value = "MF";
            }
           
            else
            {
                hdnRole.Value = CMSContext.CurrentRoles[0].MemberGroupName;
            }

        }
    }
}